// components/card/dd-card.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    DotStyle: {type: Boolean, value: true},
    isCard: {type: Boolean, value: true},
    imgUrl: {type: String, value: ''},
    isShowSwiper: {type: Boolean, value: false},
    swiperList: {type: Array, value: []},
    cardTagBgColor: {type: String, value: 'bg-gradual-dd-red'},
    cardTagName: {type: String, value: ''},
    cardText: {type: String, value: ''},
    cardUserUrl: {type: String, value: ''},
    cardTextGrey: {type: String, value: ''},
    cardText1: {type: String, value: ''},
    cardText2: {type: String, value: ''},
  },

  /**
   * 组件的初始数据
   */
  data: {
    
  },

  /**
   * 组件的方法列表
   */
  methods: {
    onClickCard() {
      this.triggerEvent('clickCard', {})
    },
    onClickGrey() {
      this.triggerEvent('clickGrey', {})
    },
  },
})